<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\MemberCoupon
 *
 * @property int $id
 * @property int $member_id 会员id
 * @property string|null $code 兑换券
 * @property string|null $end_time 有效期
 * @property float|null $amount 金额
 * @property int $status 状态
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\MemberCoupon onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereMemberId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MemberCoupon whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\MemberCoupon withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\MemberCoupon withoutTrashed()
 * @mixin \Eloquent
 */
class MemberCoupon extends Model
{
    protected $table='member_coupon';
    use SoftDeletes;
}